import { createApp } from 'vue'
import App from './App.vue'
import router from "@/router";
import store from "@/store";
import mitt from "mitt";
import * as echarts from "echarts"
import VueCookies from 'vue-cookies'
import service from "@/utils/axiosUtil";
import 'dayjs/locale/zh-cn' //中文
import 'element-plus/dist/index.css'


const app=createApp(App)



app.use(router).use(store).mount('#app')
app.config.globalProperties.$bus = new mitt()
app.config.globalProperties.$echarts = echarts
app.config.globalProperties.$cookies = VueCookies
app.config.globalProperties.$axios = service

